package cn.sofwin.boot.crud.web;

import cn.sofwin.boot.crud.entity.User;
import cn.sofwin.boot.crud.service.UserService;
import cn.sofwin.core.mvc.annotation.BaseService;
import cn.sofwin.core.mvc.web.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@RestController
@RequestMapping("/api/user")
public class UserController extends BaseController<User> {

    @BaseService
    @Autowired
    UserService userService;


}
